import { http } from '@/utils/http.js';

export const infor = () => {
    return http('/user/infor');
};

// 修改个人资料
export const profile = (data) => {
    return http('/user/profile', data);
};

export const getCityList = () => {
    return http('/group/getCityList');
};

// 生成二维码
export const qrcodeUser = () => {
    return http('/user/qrcodeUser');
};

// 参加的活动
export const attend = (data) => {
    return http('/doings/attend', data);
};

// 获取黑名单列表
export const getBlackList = () => {
    return http('/group/getBlackList');
};

// 解除拉黑
export const removeBlack = (data) => {
    return http('/group/removeBlack', data);
};

// 协议
export const article = (data) => {
    return http('/index/article', data);
};
